package com.yugao.fintech.antelope.pay.payment.model.rqrs.payorder.payway;


import com.yugao.fintech.antelope.pay.common.constants.Cs;
import com.yugao.fintech.antelope.pay.payment.model.rqrs.payorder.UnifiedOrderExtRQ;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * 支付方式： ALI_LITE
 *

 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AliLiteOrderExtRQ extends UnifiedOrderExtRQ {

    /**
     * 支付宝用户ID
     */
    @NotBlank(message = "用户ID不能为空")
    private String buyerUserId;

    /**
     * 构造函数
     */
    public AliLiteOrderExtRQ() {
        this.setWayCode(Cs.PAY_WAY_CODE.ALI_LITE);
    }

    @Override
    public String getChannelUserId() {
        return this.buyerUserId;
    }

}
